package com.example.spring.mono.entity;


import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

@Data
@Document(indexName = "user-demo")
public class EleUser {
    @Id
    private String id;
    private String username;
    private String address;
    private Integer age;
    private String gender;
}
